<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common.jsp"%>
<script type="text/javascript"
	src="/LarryMS/business/js/systemsetup/permissionsmanage/user/index.js"></script>
</head>
<body>

	<div style="margin-top: 30px; margin-bottom: 20px; margin-left: 30px">
		
		<shiro:hasPermission name="systemsetup_permissionsmanage_user_addIndex">
    			<button id="addUser" class="layui-btn layui-btn-primary">添加管理员</button>
		</shiro:hasPermission>
		
	

		<div style="float: right; margin-right: 30px;">
			<div class="layui-inline">
				<div class="layui-input-inline">
					<input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入手机号" class="layui-input">
				</div>
				<div class="layui-input-inline">
					<input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入账号" class="layui-input">
				</div>
				<div class="layui-input-inline">
					<input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入姓名" class="layui-input">
				</div>
			</div>
			<button class="layui-btn">搜索</button>
		</div>
	</div>

	<table id="userList" lay-filter="userList" class="layui-hide"></table>
	<script type="text/html" id="userBar">
		<shiro:hasPermission name="systemsetup_permissionsmanage_user_detailIndex">
    			<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
		</shiro:hasPermission>

	<shiro:hasPermission name="systemsetup_permissionsmanage_user_editIndex">
    			<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		</shiro:hasPermission>

	<shiro:hasPermission name="systemsetup_permissionsmanage_user_delectAdminUser">
    			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
		</shiro:hasPermission>


  		
  		
  		
	</script>
	<script type="text/html" id="sexTpl">
		<input type="checkbox" name="sex" value="{{d.userId}}" lay-skin="switch" lay-text="女|男" lay-filter="sex" {{ d.sex == 0 ? 'checked' : '' }}>
	</script>


	<script type="text/html" id="lockedTpl">
		 <input type="checkbox" name="lock" value="{{d.userId}}" title="锁定" lay-filter="locked" {{ d.locked == 1 ? 'checked' : '' }}>
	</script>

</body>
</html>